package com.tj.work.oracletest.common.vo;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.util.CollectionUtils;

import javax.validation.constraints.NotNull;

/**
 * 分页vo
 *
 * @author tangjing
 * @date 2021/05/17 15:47
 */
@Data
public class PageVO {

    @ApiModelProperty(value = "每页数量")
    @NotNull(message = "每页数量不能为空")
    private Integer pageSize;

    @ApiModelProperty(value = "页码")
    @NotNull(message = "页码不能为空")
    private Integer pageNum;
}
